Package com.cisco.pt.ipc.sim.impl
Class OSPFDatabaseImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCDataImpl
com.cisco.pt.ipc.sim.impl.OSPFDatabaseImpl
- All Implemented Interfaces:
IPCData,OSPFDatabase
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<TimedAsExternalLSA>protected intprotected List<TimedNetworkLSA>protected intprotected List<TimedRouterLSA>protected intprotected List<TimedSummaryLSA>protected intprotected List<TimedType7LSA>protected int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintintintintvoidread(EncodedBuffer buffer) Reads this object from an EncodedBuffer of raw datavoidsetAsExternalLSAs(List<TimedAsExternalLSA> asExternalLSAs) voidsetAsExternalLsaSeqNum(int asExternalLsaSeqNum) voidsetNetworkLSAs(List<TimedNetworkLSA> networkLSAs) voidsetNetworkLsaSeqNum(int networkLsaSeqNum) voidsetRouterLSAs(List<TimedRouterLSA> routerLSAs) voidsetRouterLsaSeqNum(int routerLsaSeqNum) voidsetSummaryLSAs(List<TimedSummaryLSA> summaryLSAs) voidsetSummaryLsaSeqNum(int summaryLsaSeqNum) voidsetType7LSAs(List<TimedType7LSA> type7LSAs) voidsetType7LsaSeqNum(int type7LsaSeqNum) Methods inherited from class com.cisco.pt.ipc.impl.IPCDataImpl
checkType, pduReadBoolean, pduReadByte, pduReadDouble, pduReadFloat, pduReadInt, pduReadIPAddress, pduReadIPCData, pduReadIPV6Address, pduReadLong, pduReadMACAddress, pduReadPair, pduReadQString, pduReadShort, pduReadString, pduReadUUID, pduReadVector, readBoolean, readByte, readDouble, readFloat, readInt, readIPAddress, readIPCData, readIPV6Address, readLong, readMACAddress, readPair, readQString, readShort, readString, readUUID, readVector
-
Field Details
-
routerLSAs
-
networkLSAs
-
summaryLSAs
-
asExternalLSAs
-
type7LSAs
-
routerLsaSeqNum
protected int routerLsaSeqNum -
networkLsaSeqNum
protected int networkLsaSeqNum -
summaryLsaSeqNum
protected int summaryLsaSeqNum -
asExternalLsaSeqNum
protected int asExternalLsaSeqNum -
type7LsaSeqNum
protected int type7LsaSeqNum
-
-
Constructor Details
-
OSPFDatabaseImpl
public OSPFDatabaseImpl()
-
-
Method Details
-
getRouterLSAs
- Specified by:
getRouterLSAsin interfaceOSPFDatabase- Returns:
- List<TimedRouterLSA> Returns a List<TimedRouterLSA>
-
setRouterLSAs
- Specified by:
setRouterLSAsin interfaceOSPFDatabase- Parameters:
routerLSAs- Takes in a parameter of routerLSAs
-
getNetworkLSAs
- Specified by:
getNetworkLSAsin interfaceOSPFDatabase- Returns:
- List<TimedNetworkLSA> Returns a List<TimedNetworkLSA>
-
setNetworkLSAs
- Specified by:
setNetworkLSAsin interfaceOSPFDatabase- Parameters:
networkLSAs- Takes in a parameter of networkLSAs
-
getSummaryLSAs
- Specified by:
getSummaryLSAsin interfaceOSPFDatabase- Returns:
- List<TimedSummaryLSA> Returns a List<TimedSummaryLSA>
-
setSummaryLSAs
- Specified by:
setSummaryLSAsin interfaceOSPFDatabase- Parameters:
summaryLSAs- Takes in a parameter of summaryLSAs
-
getAsExternalLSAs
- Specified by:
getAsExternalLSAsin interfaceOSPFDatabase- Returns:
- List<TimedAsExternalLSA> Returns a List<TimedAsExternalLSA>
-
setAsExternalLSAs
- Specified by:
setAsExternalLSAsin interfaceOSPFDatabase- Parameters:
asExternalLSAs- Takes in a parameter of asExternalLSAs
-
getType7LSAs
- Specified by:
getType7LSAsin interfaceOSPFDatabase- Returns:
- List<TimedType7LSA> Returns a List<TimedType7LSA>
-
setType7LSAs
- Specified by:
setType7LSAsin interfaceOSPFDatabase- Parameters:
type7LSAs- Takes in a parameter of type7LSAs
-
getRouterLsaSeqNum
public int getRouterLsaSeqNum()- Specified by:
getRouterLsaSeqNumin interfaceOSPFDatabase- Returns:
- int Returns a int
-
setRouterLsaSeqNum
public void setRouterLsaSeqNum(int routerLsaSeqNum) - Specified by:
setRouterLsaSeqNumin interfaceOSPFDatabase- Parameters:
routerLsaSeqNum- Takes in a parameter of routerLsaSeqNum
-
getNetworkLsaSeqNum
public int getNetworkLsaSeqNum()- Specified by:
getNetworkLsaSeqNumin interfaceOSPFDatabase- Returns:
- int Returns a int
-
setNetworkLsaSeqNum
public void setNetworkLsaSeqNum(int networkLsaSeqNum) - Specified by:
setNetworkLsaSeqNumin interfaceOSPFDatabase- Parameters:
networkLsaSeqNum- Takes in a parameter of networkLsaSeqNum
-
getSummaryLsaSeqNum
public int getSummaryLsaSeqNum()- Specified by:
getSummaryLsaSeqNumin interfaceOSPFDatabase- Returns:
- int Returns a int
-
setSummaryLsaSeqNum
public void setSummaryLsaSeqNum(int summaryLsaSeqNum) - Specified by:
setSummaryLsaSeqNumin interfaceOSPFDatabase- Parameters:
summaryLsaSeqNum- Takes in a parameter of summaryLsaSeqNum
-
getAsExternalLsaSeqNum
public int getAsExternalLsaSeqNum()- Specified by:
getAsExternalLsaSeqNumin interfaceOSPFDatabase- Returns:
- int Returns a int
-
setAsExternalLsaSeqNum
public void setAsExternalLsaSeqNum(int asExternalLsaSeqNum) - Specified by:
setAsExternalLsaSeqNumin interfaceOSPFDatabase- Parameters:
asExternalLsaSeqNum- Takes in a parameter of asExternalLsaSeqNum
-
getType7LsaSeqNum
public int getType7LsaSeqNum()- Specified by:
getType7LsaSeqNumin interfaceOSPFDatabase- Returns:
- int Returns a int
-
setType7LsaSeqNum
public void setType7LsaSeqNum(int type7LsaSeqNum) - Specified by:
setType7LsaSeqNumin interfaceOSPFDatabase- Parameters:
type7LsaSeqNum- Takes in a parameter of type7LsaSeqNum
-
read
Reads this object from an EncodedBuffer of raw data- Specified by:
readin interfaceIPCData- Specified by:
readin classIPCDataImpl- Parameters:
buffer- The EncodedBuffer that contains the raw data from which to construct this object
-